package com.lx.service;

import com.lx.entity.Address;

import java.util.List;

public interface AddressService {
    List<Address> getAllAddresses(Integer userId);

    Address getAddressById(Integer id);

    boolean addAddress(Address address);

    boolean updateAddress(Address address);

    boolean deleteAddress(Integer id);

    boolean setDefaultAddress(Integer userId, Integer addressId);
}
